package com.erp.framework.pagination;

import java.util.Collection;

import com.erp.framework.model.criteria.SimpleBaseSrchCriteria;
import com.erp.framework.model.vo.SimpleBaseVo;

public interface PageDataAccess {

    public int getTotal(SimpleBaseVo model, SimpleBaseSrchCriteria crit) throws Exception;
    
	public Collection getPage(
			SimpleBaseVo model, 
			SimpleBaseSrchCriteria crit, 
			int fetch_size, 
			int start_idx) throws Exception;
}
